package com.office.mapper;

import com.office.bean.Classes;
import com.office.bean.Major;

import java.util.List;
import java.util.Map;

public interface ClassesMapper {

    long findtotalCount();

    List<Classes> findClassByPage(Map<String,Object> map);

    boolean deleteClass(int id);

    long findClassCount(int id);

    Classes findClassById(int id);

    List<Major> findMajor();

    int update(Classes classes);


    long findStudentCount(long classId);

    List<Classes> findClassList();
}
